package com.springtest.jdbc;

import java.util.List;

public interface AccountDao {
    public int addAccount(Account account);
    public int updateAccount(Account account);
    public int deleteAccount(Integer id);

    // 通过 id 查询
    public Account findAccountById(int id);
    // 查询所有账户
    public List<Account> findAllAccount();
}
